/* 顶部（三行） */
.header {
    height: 260px;
    width: 100%;
    text-align: center;
    position: relative;
}

.top {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    height: 120px;
    width: 100%;
    background-image: url("../images/headimg.jpg");
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: auto 120px;
    background-repeat: no-repeat;
}

.topbar {
    height: 40px;
    width: 100%;
    position: absolute;
    top: 120px;
    left: 0px;
    background-color: #333;
}

.topbar-contain {
    height: 40px;
    width: 1226px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.topbar-contain-left {
    text-align: left;
    height: 40px;
    width: 773px;
    position: absolute;
    line-height: 40px;
}

.topbar-contain a {
    border: none;
    font-size: 12px;
    color: #999;
}

.topbar-contain span {
    color: #444;
    margin-left: 3px;
}

.topbar-contain-right {
    position: absolute;
    height: 40px;
    width: 300px;
    right: 0;
    top: 0px;
    text-align: right;
}

.topbar-contain-right a{
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.topbar-contain a:hover {
    color: #fff;
}

#shopcar {
    text-align: center;
    height: 40px;
    width: 80px;
    background-color: #444;
}

#shopcar:hover {
    background-color: white;
    color: orange;
}

.header-site {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    width: 1226px;
    margin-left: auto;
    margin-right: auto;
}

.header-site a img {
    height: 55px;
    width: 55px;
    line-height: 55px;
}

.logoer {
    z-index: -5;
    height: 55px;
    width: 55px;
    position: absolute;
    background-color: orange;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}


/* mi和桌面图标 */

.tab {
    opacity: 0;
    z-index: 2;
    height: 55px;
    width: 55px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.mi-logo {
    z-index: 1;
    background-image: url("../images/mi-logo.png");
    background-size: 55px;
    height: 55px;
    width: 55px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.home-logo {
    z-index: 1;
    background-image: url("../images/mi-home.png");
    background-size: 55px;
    position: absolute;
    height: 55px;
    width: 55px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: -55px;
}

.header-site-nav {
    height: 100px;
    width: 850px;
    position: absolute;
    left: 60px;
    top: 0;
    text-align: right;
}

.header-site-nav a {
    line-height: 100px;
    color: black;
    margin-right: 15px;
}

.header-site-nav a:hover {
    color: orange;
}

.header-site-nav span {
    margin-right: 50px;
}

.header-site-search {
    height: 50px;
    width: 296px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    text-align: right;
}

.header-site-search form {
    width: 296px;
    height: 50px;
    border: 1px solid #e0e0e0;
}

input {
    border: none;
    outline: none;
}

.searchbox {
    height: 50px;
    width: 230px;
}

.searchbutton {
    margin-right: 2px;
    border: none;
    height: 50px;
    background-color: white;
    color: #fff;
    border-left: 1px solid #e0e0e0;
    width: 50px;
    background-image: url("../images/search.jpg");
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: 25px 25px;

}
